feat(marketplace): adjust cart and checkout view to marketplace use-case (MS-1158)#632
Merged
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
…cart-that-organizes-products-by-seller-so-that-i-can-see-exactly-who-i-am-buying-from
…cart-that-organizes-products-by-seller-so-that-i-can-see-exactly-who-i-am-buying-from
…cart-that-organizes-products-by-seller-so-that-i-can-see-exactly-who-i-am-buying-from
lukas-szewczyk
approved these changes
May 12, 2026
GrzegorzDerdak
added a commit
that referenced
this pull request
May 14, 2026
…ase (MS-1158) (#632) * feat: Add Vendor Stripe Connect Onboarding * feat: Fix syntax * feat: Add translations * fix: Linter warnings * feat: working on payment flow * feat: adding checkoutComplete to Stripe webhook * feat: add permission in manifest * feat: payments for marketplace integrated with storefront * feat: add refund logic * fix: fix manifest * feat: unify stripe envs * Remove linter warnings and adapt types * feat: adjust types and functionality to create multi-ventor orders * feat: add ledger for vendor payouts * feat: add migrate command * feat(marketplace): adjust cart and checkout view to marketplace use-case * fix build * feat(marketplace): handle multi-vendor cart and checkout * style: prettier changes * fixes * fix: missing vendor name, improve logging * publish vendor on account confirm * eslint fixes --------- Co-authored-by: Adam Bogdał <adam@bogdal.pl> Co-authored-by: Tomasz Stuba <tomasz.stuba@leaflink.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
I want to merge this change because it adjusts the storefront cart and checkout flows to support marketplace multi-vendor purchases.
This PR introduces a marketplace-aware checkout cookie format, where checkout IDs are stored per vendor, and updates the cart, PDP, checkout, payment, and order summary flows to work with multiple vendor checkouts.
Related issue: MS-1158
Testing process and results
Impact
Buyers can now use a multi-vendor cart and checkout flow where products are grouped by seller, delivery methods are selected per vendor checkout, and marketplace payment can be initialized from multiple checkouts.
The existing single-vendor storefront flow continues to use shared checkout helpers and should keep working with the new cookie format. Legacy string checkout cookies are handled by fallback parsing.
Rollback plan
Revert this PR to restore the previous single-checkout cart and checkout behavior. No data migration should be required because checkout state is stored in cookies and the new helpers keep legacy cookie fallback support.
Pull Request Checklist